package us.mooresr.webtroopmanager.client.ui;

import us.mooresr.webtroopmanager.shared.Privilege;

import com.google.gwt.place.shared.Place;
import com.google.gwt.user.client.ui.IsWidget;

public interface DashboardView extends IsWidget {
	void setPresenter(Presenter presenter);
	void setStatus(String status);
	void permissionsChanged();
	
	public interface Presenter {
		void goTo(Place place);
		void doLogout();
		Boolean hasPermission(Privilege priv);
	}

}
